package com.dptest.webscoketdemo.entity;

/**
 * 描述: 消息实体
 *
 * @author dengpeng
 * @create 2018-04-03 14:26
 */
public class Message {

  private String body;

  private String timestamp;

  private String threadName;

  private String className;

  private String level;

  public Message(String body, String timestamp, String threadName, String className, String level) {
    this.body = body;
    this.timestamp = timestamp;
    this.threadName = threadName;
    this.className = className;
    this.level = level;
  }

  public Message() {
  }

  public String getBody() {
    return body;
  }

  public void setBody(String body) {
    this.body = body;
  }

  public String getTimestamp() {
    return timestamp;
  }

  public void setTimestamp(String timestamp) {
    this.timestamp = timestamp;
  }

  public String getThreadName() {
    return threadName;
  }

  public void setThreadName(String threadName) {
    this.threadName = threadName;
  }

  public String getClassName() {
    return className;
  }

  public void setClassName(String className) {
    this.className = className;
  }

  public String getLevel() {
    return level;
  }

  public void setLevel(String level) {
    this.level = level;
  }
}
